PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFRubberStampAnnotation Class / setColor Method
A com.o2sol.pdf4java.graphics.colors.PDFColor that represents the stamp color.
In This Topic
    setColor Method
    In This Topic
    Sets the stamp color.
    Color must be Gray, RGB or CMYK.
    Syntax
    public void setColor( 
       PDFColor color
    )

    Parameters

    color
    A com.o2sol.pdf4java.graphics.colors.PDFColor that represents the stamp color.
    Exceptions
    ExceptionDescription
    When the property is set to a color other than Gray, RGB or CMYK.
    See Also